// 基础模块
// import Layout from '@/layout';
const Foo = { template: '<div>Component: foo</div>' }
const router = {
	path: '/base',
	// component: Layout,
	redirect: '/base/paper',
	name: 'BasePaper',
	meta: {
		title: 'base.title'
	},
	children: [
		{
			path: '/paper',
			// component: () => import('@/views/base/paper'),
			component: Foo,
			name: 'BaseStaffLink',
			meta: { title: 'base.staff', roles: [ 'base:staff' ] }
		}
		// ,
		// {
		//   path: 'staff/edit',
		//   component: () => import('@/views/base/staff/edit'),
		//   hidden: true,
		//   name: 'BaseStaffEditLink',
		//   meta: { title: 'base.staffEdit', roles: ['base:staff:edit'] }
		// },
		// {
		//   path: 'staff/detail',
		//   component: () => import('@/views/base/staff/detail'),
		//   hidden: true,
		//   name: 'BaseStaffDetailLink',
		//   meta: { title: 'base.staffEdit' }
		// },
	]
}
export default router
